﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISETipoRoca")]
    public interface ISETipoRoca
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/ListarTipoRoca", ReplyAction = "http://tempuri.org/ISETipoRoca/ListarTipoRocaResponse")]
        TipoRoca[] ListarTipoRoca();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/InsertarTipoRoca", ReplyAction = "http://tempuri.org/ISETipoRoca/InsertarTipoRocaResponse")]
        int InsertarTipoRoca(TipoRoca request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/ModificarTipoRoca", ReplyAction = "http://tempuri.org/ISETipoRoca/ModificarTipoRocaResponse")]
        void ModificarTipoRoca(TipoRoca request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/EliminarTipoRoca", ReplyAction = "http://tempuri.org/ISETipoRoca/EliminarTipoRocaResponse")]
        void EliminarTipoRoca(int codigoTipoRoca);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/BuscarTipoRoca", ReplyAction = "http://tempuri.org/ISETipoRoca/BuscarTipoRocaResponse")]
        TipoRoca[] BuscarTipoRoca(string nombre);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/ObtenerTipoRoca", ReplyAction = "http://tempuri.org/ISETipoRoca/ObtenerTipoRocaResponse")]
        TipoRoca ObtenerTipoRoca(int codigoTipoRoca);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISETipoRoca/ObtenerListItem", ReplyAction = "http://tempuri.org/ISETipoRoca/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISETipoRocaChannel : ISETipoRoca, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SETipoRocaClient : System.ServiceModel.ClientBase<ISETipoRoca>, ISETipoRoca
    {

        public SETipoRocaClient()
        {
        }

        public SETipoRocaClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SETipoRocaClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoRocaClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SETipoRocaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public TipoRoca[] ListarTipoRoca()
        {
            return base.Channel.ListarTipoRoca();
        }

        public int InsertarTipoRoca(TipoRoca request)
        {
            return base.Channel.InsertarTipoRoca(request);
        }

        public void ModificarTipoRoca(TipoRoca request)
        {
            base.Channel.ModificarTipoRoca(request);
        }

        public void EliminarTipoRoca(int codigoTipoRoca)
        {
            base.Channel.EliminarTipoRoca(codigoTipoRoca);
        }

        public TipoRoca[] BuscarTipoRoca(string nombre)
        {
            return base.Channel.BuscarTipoRoca(nombre);
        }

        public TipoRoca ObtenerTipoRoca(int codigoTipoRoca)
        {
            return base.Channel.ObtenerTipoRoca(codigoTipoRoca);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}